package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:12
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductGlossaryRelateDAO extends IDataAccessInterface<ProductGlossaryRelate, ProductGlossaryRelateDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_GLOSSARY_RELATE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_GLOSSARY_RELATE.ID";

    /**
     * Mapped Field PRODUCT_DEFINE_ID
    */
    static final String ProductDefineId = "PRODUCT_GLOSSARY_RELATE.PRODUCT_DEFINE_ID";

    /**
     * Mapped Field PRODUCT_GLOSSARY_ID
    */
    static final String ProductGlossaryId = "PRODUCT_GLOSSARY_RELATE.PRODUCT_GLOSSARY_ID";

    /**
     * Mapped Field RELATED_PRODUCT_GLOSSARY_ID
    */
    static final String RelatedProductGlossaryId = "PRODUCT_GLOSSARY_RELATE.RELATED_PRODUCT_GLOSSARY_ID";

    /**
     * Mapped Field RELATED_TYPE
    */
    static final String RelatedType = "PRODUCT_GLOSSARY_RELATE.RELATED_TYPE";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_GLOSSARY_RELATE.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_GLOSSARY_RELATE.REMARKS";

    /**
     * Mapped Field RELATED_NAME
    */
    static final String RelatedName = "PRODUCT_GLOSSARY_RELATE.RELATED_NAME";

    /**
     * Mapped Attribute relatedGlossaryCode
    */
    static final String RelatedGlossaryCode = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductGlossaryDAO.Code,
            com.ourteam.product.requirement.dao.IProductGlossaryDAO.EntityName +
            ".", "RELATED_VHNKKO_ProductGlossary.");

    /**
     * Mapped Attribute relatedGlossaryName
    */
    static final String RelatedGlossaryName = org.apache.commons.lang.StringUtils.replace(com.ourteam.product.requirement.dao.IProductGlossaryDAO.Name,
            com.ourteam.product.requirement.dao.IProductGlossaryDAO.EntityName +
            ".", "RELATED_VHNKKO_ProductGlossary.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductGlossaryRelate findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute productDefineId
         */
        static final String ProductDefineId = "productDefineId";

        /**
         * Attribute productGlossaryId
         */
        static final String ProductGlossaryId = "productGlossaryId";

        /**
         * Attribute relatedProductGlossaryId
         */
        static final String RelatedProductGlossaryId = "relatedProductGlossaryId";

        /**
         * Attribute relatedType
         */
        static final String RelatedType = "relatedType";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute relatedGlossaryCode
         */
        static final String RelatedGlossaryCode = "relatedGlossaryCode";

        /**
         * Attribute relatedGlossaryName
         */
        static final String RelatedGlossaryName = "relatedGlossaryName";

        /**
         * Attribute relatedName
         */
        static final String RelatedName = "relatedName";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
